package com.kangye.game.service.impl;

import com.kangye.game.dao.TUserMapper;
import com.kangye.game.service.DelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Map;

/**
 * @program: game_orders
 * @description:
 * @author: lys
 * @create: 2021-09-01 21:04
 **/
@Service
public class DelServiceImpl implements DelService {
    @Resource
    private TUserMapper tUserMapper;

    @Override
    public int delTUser(Integer id) {
        Map<String, Integer> map = new HashMap<>();
        map.put("id", id);
        return tUserMapper.delTUser(map);
    }
}
